package com.itheima.dao.store;

import com.itheima.domain.store.Product;

import java.util.List;

/**
 * @author WangRuiWei
 * @date 2020/9/30 10:25
 */
public interface ProductDao {
    int save(Product product);

    int delete(String id);

    int update(Product product);

    Product findById(String id);

    List<Product> findAll();
}
